#pragma once

#include "Control\NumberCtrl.h"

#define	  MAX_DIGIT			8


class  CValueNumCtrl :	public CNumberCtrl
{
public:
	CValueNumCtrl(void);
	virtual ~CValueNumCtrl(void);

	CValueNumCtrl(UINT nID);
	CValueNumCtrl(wstring strCaption,UINT nID);
	CValueNumCtrl(DWORD dwStyle, wstring strCaption,const CRect &rc, UINT nID);
	CValueNumCtrl(DWORD dwStyle, wstring strCaption, int x, int y, int cx, int cy, UINT nID);

	virtual void Paint(CDC* pDC);


};
